/*
 * SetItemResource.h
 *
 *  Created on: 2014. 4. 18.
 *      Author: mega
 */

#ifndef SETITEMRESOURCE_H_
#define SETITEMRESOURCE_H_

#include <map>

namespace ProjectZ { namespace NResource {

class SetItemResource
{
public:
	struct Flyweight
	{
		int _SET_TYPE;
		int _SET_TID1;
		int _SET_TID2;
		int _SET_TID3;
	};

public:
	typedef std::map<int, Flyweight *> SETITEMTREE;

public:
	SetItemResource();
	virtual ~SetItemResource();

	bool			LoadResource();
	SETITEMTREE &	GetTree() { return clsFlyTree; }

private:
	void		Clear();

private:
	SETITEMTREE clsFlyTree;
};

} /* namespace NLogic */ } /* namespace ProjectZ */

#endif /* SETITEMRESOURCE_H_ */
